<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体图标</title>
    <!-- 为了兼容6、7、8 -->
    <!-- [if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- 导入bootstrap核心css库 -->
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
    <style>
        a::before{
            color: red;
        }
    </style>
</head>
<body>
    <!-- 生成伪元素，并自动生成字体图标 -->
    <a href="#" class="glyphicon glyphicon-heart">我的中文网</a>

    <a href="#" class="btn btn-info">保存</a>
</body>
</html>